<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>假日管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link href="../css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="../css/admin.css" rel="stylesheet" type="text/css"/>
    <link href="../css/public.css" rel="stylesheet" type="text/css"/>
	
</head>
<body>
<div class="layui-conter">
    <div class="layui-col-md12">
        <div class="navigation">
            <span>教务></span><span>班级管理></span><span>假日管理</span>
        </div>

        <div class="white-conter">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="title-blue"><b>假日管理</b></div>
                    <div class="layui-card-body addPadding">
                        <form class="layui-form" action="" lay-filter="component-form-group">
                            <div class=" layui-row" style="margin-top: 20px">
                                <div class=" layui-col-md4" style="width: 25%;">
                                    <label class="layui-form-label">假日名称：</label>
                                    <div class="layui-input-block">
                                        <input type="text" placeholder="请输入..." class="layui-input" >
                                    </div>
                                </div>
                                <div class=" layui-col-md4" style="width: 25%;">
                                    <label class="layui-form-label">起始时间：</label>
                                    <div class="layui-input-block">
                                    	<input type="text" class="layui-input" id="startTime" placeholder="起始时间">
										<i class="layui-icon layui-icon-date" style="font-size: 16px; color: #666666;position: absolute;top: 0;right: 15px;"></i>  
                                    </div>
                                </div>
                                <div class=" layui-col-md4" style="width: 25%;">
                                    <label class="layui-form-label">截止日期：</label>
                                    <div class="layui-input-block">
                                        <input type="text" class="layui-input" id="endTime" placeholder="截止日期">
										<i class="layui-icon layui-icon-date" style="font-size: 16px; color: #666666;position: absolute;top: 0;right: 15px;"></i> 
                                    </div>
                                </div>
								<div class="layui-inline add" style="margin-left: 20px;">
									<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" >添加</button>
								</div>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body"  style="border-bottom:none;">
                            <table  class="layui-hide" id="test-table-operate" lay-filter="test-table-operate"></table>
                            <div class="layui-form layui-border-box layui-table-view" lay-filter="LAY-table-1">
                                <div class="layui-table-box" style="margin-bottom: 20px">
                                    <div class="layui-table-body layui-table-main">
                                        <table cellspacing="0" cellpadding="0" border="0" class="layui-table">
                                            <thead>
                                            <tr>
                                                <th data-field="holidayName" style="padding-left: 60px;"  >
                                                    <div class="layui-table-cell laytable-cell-holidayName">
                                                        <span>假日名称</span>
                                                    </div>
                                                </th>
                                                <th data-field="startTime">
                                                    <div class="layui-table-cell laytable-cell-startTime" align="center">
                                                        <span>起始时间</span>
                                                    </div>
                                                </th>
                                                <th data-field="endTime">
                                                    <div class="layui-table-cell laytable-cell-endTime" align="center">
                                                        <span>截止日期</span>
                                                    </div>
                                                </th>
                                                <th data-field="operation">
                                                    <div class="layui-table-cell laytable-cell-1-operation" align="center">
                                                        <span>操作</span>
                                                    </div>
                                                </th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <tr data-index="0" class="">
                                                <td data-field="holidayName" align="center"  style="padding-left: 60px;">
                                                    <div class="laytable-cell-holidayName">
														<input type="text" value="元旦" class="layui-input"  style="padding-right:10px;">
													</div>
                                                </td>
                                                <td data-field="startTime" align="center">
                                                    <div class="laytable-cell-startTime" style="position: relative;">
                                                        <input type="text" class="layui-input" id="list_start_time" style="padding-right:10px;">
														<i class="layui-icon layui-icon-date" style="font-size: 16px; color: #666666;position: absolute;top: 7px;right: 15px;"></i> 
                                                    </div>
                                                </td>
                                                <td data-field="endTime" align="center">
                                                    <div class="laytable-cell-endTime" style="position: relative;">
                                                        <input type="text" class="layui-input" id="list_end_time" style="padding-right:10px;">
														<i class="layui-icon layui-icon-date" style="font-size: 16px; color: #666666;position: absolute;top: 7px;right: 15px;"></i> 
                                                    </div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img" style="background: url(../images/bj.png)no-repeat center;"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr data-index="1" class="">
                                                <td data-field="holidayName" style="padding-left: 60px;"  align="center">
                                                    <div class="layui-table-cell laytable-cell-holidayName">春节</div>
                                                </td>
                                                <td data-field="startTime" align="center">
                                                    <div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
                                                </td>
                                                <td data-field="endTime" align="center">
                                                    <div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr data-index="2" class="">
                                                <td data-field="holidayName" style="padding-left: 60px;"  align="center">
                                                	<div class="layui-table-cell laytable-cell-holidayName">春节</div>
                                                </td>
                                                <td data-field="startTime" align="center">
                                                	<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
                                                </td>
                                                <td data-field="endTime" align="center">
                                                	<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                	<div class="layui-table-cell laytable-cell-1-operation">
                                                		<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                		<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                	</div>
                                                </td>
                                            </tr>
                                            <tr data-index="3" class="">
                                                <td data-field="holidayName" style="padding-left: 60px;"  align="center">
                                                	<div class="layui-table-cell laytable-cell-holidayName">春节</div>
                                                </td>
                                                <td data-field="startTime" align="center">
                                                	<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
                                                </td>
                                                <td data-field="endTime" align="center">
                                                	<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                	<div class="layui-table-cell laytable-cell-1-operation">
                                                		<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                		<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                	</div>
                                                </td>
                                            </tr>
											<tr data-index="4" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="5" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="6" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="7" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="8" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="9" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="10" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="11" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="12" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="13" class="">
												<td data-field="holidayName" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-holidayName">春节</div>
												</td>
												<td data-field="startTime" align="center">
													<div class="layui-table-cell laytable-cell-startTime">2018-02-15</div>
												</td>
												<td data-field="endTime" align="center">
													<div class="layui-table-cell laytable-cell-endTime">2018-02-21</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
                                            </tbody>
                                        </table>
                                    </div>
									<div class="layui-table-page">
											<div id="layui-table-page1">
													<div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-1">
															<a href="javascript:;" class="layui-laypage-prev layui-disabled" data-page="0">
																	<i class="layui-icon"></i></a>
															<span class="layui-laypage-curr">
													<em class="layui-laypage-em"></em>
													<em>1</em>
											</span>
															<a href="javascript:;" data-page="2">2</a>
															<a href="javascript:;" data-page="3">3</a>
															<span class="layui-laypage-spr">…</span>
															<a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="100">100</a>
															<a href="javascript:;" class="layui-laypage-next" data-page="2">
																	<i class="layui-icon"></i></a><span class="layui-laypage-skip">到第
											<input type="text" min="1" value="1" class="layui-input">页
											<button type="button" class="layui-laypage-btn blue">确定</button>
									</span>
													</div>
											</div>
									</div>
                                </div>
                                
                            </div>

                            <script type="text/html" id="test-table-operate-barDemo">
                                <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
                                <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
                            </script>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </div>
</div>
</body>
<script src="../js/layui.all.js"></script>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#startTime' //起始时间
        });
		laydate.render({
			elem: '#endTime' //截止时间
		});list_start_time
		//列表 
		laydate.render({
			elem: '#list_start_time' //起始时间
		});
		laydate.render({
			elem: '#list_end_time' //截止时间
		});
    });
</script>
</html>